#ifndef _MODEL_SPLIT_SPLITBYSHAPE_
#define _MODEL_SPLIT_SPLITBYSHAPE_

#include "../../../function.h"

namespace sp::Model::Split{

void registe_splitByShape();

class splitByShape: public PythonFunction{
public:
    splitByShape(std::vector<std::string> v);
    splitByShape();
    virtual ~splitByShape();
    static void registe();
    static Function* createObject(std::vector<std::string> params);
    static Function* createObject2();
    virtual void start();
    virtual bool waitForResource();
    virtual void process(std::vector<std::vector<Data*>>& data_input, std::vector<Data*>& data_output);
    virtual bool releaseResource();
    virtual void finish();
    virtual void copy(Function* other);
};

};

#endif